#include <SDL.h>
#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
	cout << "Initializing SDL." << endl;
	/* Initialize defaults, Video and Audio */
	if ((SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) == -1)) {
		cout << "Could not initialize SDL: " << SDL_GetError() << endl;
		exit(-1);
	}
	cout << "SDL initialized." << endl;
	cout << "Quiting SDL." << endl;
	/* Shutdown all subsystems */
	SDL_Quit();
	cout << "Quiting..." << endl;
	return 0;
}
